package com.qi.dao;

import com.qi.pojo.User;

import java.util.List;
import java.util.Map;

/**
 * @author zjq
 * @date 2020/3/11 15:41
 */
public interface UserMapper {
    //根据id查询用户
    User getUserById(int id);

    //分页
    List<User> getUserByLimit(Map<String, Integer> map);

    //分页2 RowBounce分页
    List<User> getUserByRowBounce();
}
